/* Login.css */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('/public/3d.png') no-repeat center center fixed; /* 使用public目录下的3d.png作为背景 */
    background-size: cover;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.login-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
}

.login-title {
    font-size: 36px;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.login-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    color: #eee;
}

.login-form-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.5);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
    width: 380px;
    max-width: 90%;
}

.login-form-card .ant-form-item-label > label {
    color: #fff;
}

.login-form-card .ant-input,
.login-form-card .ant-input-password {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
}

.login-form-card .ant-input-prefix,
.login-form-card .ant-input-suffix {
    color: rgba(255, 255, 255, 0.6);
}

.login-form-card .ant-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.login-form-card .ant-btn-primary {
    width: 100%;
    height: 45px;
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.8), rgba(0, 200, 255, 0.8));
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.login-form-card .ant-btn-primary:hover {
    background: linear-gradient(90deg, rgba(0, 255, 255, 1), rgba(0, 200, 255, 1));
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
}

.login-register-link {
    display: block;
    margin-top: 20px;
    color: rgba(0, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-register-link:hover {
    color: rgba(0, 255, 255, 1);
    text-decoration: underline;
}

.ant-form-item-control-input-content {
    display: flex;
    justify-content: center;
}